home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XFontSetExtents.z / XFontSetExtents
Encoding:
Text File  |  2002-10-03  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXFFFFoooonnnnttttSSSSeeeettttEEEExxxxtttteeeennnnttttssss((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXFFFFoooonnnnttttSSSSeeeettttEEEExxxxtttteeeennnnttttssss((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XFontSetExtents - XFontSetExtents structure
  10.  
  11.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  12.           The _X_F_o_n_t_S_e_t_E_x_t_e_n_t_s structure contains:
  13.  
  14.           typedef struct {
  15.                XRectangle max_ink_extent;/* over all drawable characters */
  16.                XRectangle max_logical_extent;/* over all drawable characters */
  17.           } XFontSetExtents;
  18.  
  19.           The _X_R_e_c_t_a_n_g_l_e structures used to return font set metrics
  20.           are the usual Xlib screen-oriented rectangles with x, y
  21.           giving the upper left corner, and width and height always
  22.           positive.
  23.  
  24.           The max_ink_extent member gives the maximum extent, over all
  25.           drawable characters, of the rectangles that bound the
  26.           character glyph image drawn in the foreground color,
  27.           relative to a constant origin.  See _X_m_b_T_e_x_t_E_x_t_e_n_t_s and
  28.           _X_w_c_T_e_x_t_E_x_t_e_n_t_s for detailed semantics.
  29.  
  30.           The max_logical_extent member gives the maximum extent, over
  31.           all drawable characters, of the rectangles that specify
  32.           minimum spacing to other graphical features, relative to a
  33.           constant origin.  Other graphical features drawn by the
  34.           client, for example, a border surrounding the text, should
  35.           not intersect this rectangle.  The max_logical_extent member
  36.           should be used to compute minimum interline spacing and the
  37.           minimum area that must be allowed in a text field to draw a
  38.           given number of arbitrary characters.
  39.  
  40.           Due to context-dependent rendering, appending a given
  41.           character to a string may change the string's extent by an
  42.           amount other than that character's individual extent.
  43.  
  44.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  45.           XCreateFontSet(3X11), XExtentsOfFontSet(3X11),
  46.           XFontsOfFontSet(3X11)
  47.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.